home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
adult_ed
/
prime
/
prime.doc
< prev
next >
Wrap
Text File
|
1995-05-02
|
2KB
|
74 lines
Prime ver. 1.01
April 1990
What does Prime do?
- finds prime numbers within any range from 1 to 10 Trillion.
- prime factors any number from 1 to 10 Trillion.
- factors any number from 1 to 10 Trillion.
- finds the Greatest Common Factor (GCF) of up to 10 numbers
from 1 to 10 Trillion.
- finds the Least Common Multiple (LCM) of up to 10 numbers
from 1 to 10 Trillion.
In short Prime does things that can be done on a calculator but
not with out a lot of button pushing.
Menu options
Desk - Prime is written and compiled in GFA BASIC 3.0
Find - Enter any range, but the higher the numbers the
longer it will take. (1-2000 in under 2 seconds)
To interrupt press Control, Shift, Alternate.
Playback - Plays back found or loaded primes.
Print - Prints primes.
Load - Loads primes from disk.
Save - If saved with .PRI file will be shown in the
fileselector box.
New file - Saves primes to a new file or
over writes an old one.
Old file - Adds primes to the end of an existing
file. A large list of primes can be
made this way even with limited memory.
Prime factor - Breaks a number down to it's prime factors.
100 = 2 X 2 X 5 X 5
13 = 13 X 1
Factor - Finds the factors of a number.
100 = 1 X 100, 2 X 50, 4 X 25, 5 X 20, 10 X 10
13 = 1 X 13
GCF - Enter up to 10 numbers. Finds GCF.
27, 90, 9 = 9
453, 982, 4545 = 1
LCM - Enter up to 10 numbers. Finds LCM.
45, 9, 5 = 45
63, 70, 90 = 630
Quit - Return to Desk Top.
I ran Prime on the prototype TT at the World of Atari, April 1990.
The TT was 2.75 to 3.5+ times faster than the ST, depending on the range.
Written by Charles Harvey Send any small ($10-$15)
1033 Notre Dame donations to the same.
Upland CA. 91786
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, ...